/* --------------------------------------
 * Copyright 2008 Jean-Matthieu BARBIER
 * --------------------------------------
 * This file is part of QLocatePC.
 *
 * QLocatePC is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * QLocatePC is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with QLocatePC.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef SETUPWIN_H
#define SETUPWIN_H
//
#include <QMainWindow>
#include <QtGui>
#include "setup.h"
#include "httplocate.h"
#include "ui_setupwin.h"
//
class QLocatePCSetupWin : public QMainWindow, public Ui::SetupWin
{
Q_OBJECT
public:
	QLocatePCSetupWin( QWidget * parent = 0, Qt::WFlags f = 0 );
  void updateFromSetup(QLocatePCSetupData *data);
  void setupFromForm(QLocatePCSetupData *data);
  QErrorMessage* errorDialog;
  QMessageBox* infoDialog;
  QLocatePCHttpLocate* loc;

signals:
  void updateDaemon();

private slots:
  void actionApplyParams();
  void actionSetDefaults();
  void actionSetupDaemon();
  void actionSetupStartup();
};
#endif




